^M line feed characters
- Article Type: Q&A
- Product: Aleph
- Product Version: 20
Question
^M" line feed characters in Aleph tables cause problems. How do they get there and how can they be eliminated?
Answer
They get there because the file has been ftp-ed in binary mode rather than ascii.
There are two ways to get rid of these control characters:
1. re-ftp the file, typing "ASCII" on the ftp command line prior to doing the ftp.
2. Enter this command at the unix prompt on your server:
dos2unix xxxxxxxxx <where "xxxxxxxxx" is the name of the file> (on LINUX systems)
dos2unix -ascii xxxxxxxxx xxxxxxxxx <where "xxxxxxxxx" is the name of the file> (on SUN systems)
Category: System Management (500)
- Article last edited: 1/12/2015